// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import VueLazyload from "vue-lazyload";
import VDistpicker from 'v-distpicker'

Vue.component('v-distpicker', VDistpicker)
import {
  currency
} from "./util/currency";

Vue.config.productionTip = false
Vue.use(VueLazyload, {
  // throttleWait: 2000,
  loading: '/static/loading-svg/loading-bars.svg'
});
Vue.filter("currency", currency)
import infiniteScroll from 'vue-infinite-scroll'
Vue.use(infiniteScroll)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>'
})
